<div class="mb-3">
    <label for="name" class="form-label">Machine Name</label>
    <input type="text" placeholder="name" name="name" id="name" value="{{.Name}}" class="form-control"/>
</div>
<div class="mb-3">
    <label for="states" class="form-label">States Definition</label>
    <turingmachine-editor name="states" id="states"
                          machine="{{if .States}}{{.States | json}}{{else}}[]{{end}}"></turingmachine-editor>
</div>
<br/>